<template>
	<div class="Module">
		<div v-if="title" class="nosel title">● {{title}}</div>
		<slot />
	</div>
</template>

<script>
	export default {
		name: 'Module',
		props: {
			title: {
				type: [String, Number],
				default: null
			}
		},
		data: () => ({})
	};
</script>

<style lang="sass">
.Module
	box-sizing: border-box

	position: relative

	padding: 10px

	width: 100%

	&._pd0
		padding: 0px

	>.title
		padding-bottom: 10px

		font-size: 18px
</style>
